package com.asset.salesforce.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.asset.salesforce.dao.DepartmentDaoImpl;
import com.asset.salesforce.domain.Department;

@Service
@Transactional(readOnly=true)
public class DepartmentService {
	
	@Autowired
	DepartmentDaoImpl departmentDaoImpl;
	
	@Transactional(readOnly=false)
	public void addDepartment(Department department) {
		departmentDaoImpl.addDepartment(department);
	}


}
